package dao;

import bean.pojo.Products;

import java.util.List;

/**
 * dao
 * User: 李雨行
 * Date: 2024/12/17 15:54
 * motto:   沉淀哥
 * Description:
 * Version: V1.0
 */
public interface ProductDao {
    List<Products> findByPage(Integer productId, String productName, String productCategory,Integer page,Integer limit);

    boolean add(Products products);

    boolean deleteById(Integer id);

    boolean update(Products products);

    Integer maxPage(Integer productId,String productName,String productCategory);
}
